Automattic\Jetpack\Connection\REST_Connector B

Total Complexity 97
Dependencies 15
Dependents 9
Total lines 1,002
Lines of code 564
Logical lines of code 188
Comment lines 308
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
__construct()
A
28
5 208
connection_register()
A
49 10 29
is_request_signed_by_jetpack_debugger()
A
50 9 27
get_user_connection_data()
S
44 6 45
connection_reconnect()
S
52 7 26
update_user_token()
S
51 7 24
connection_status()
S
50 5 27
get_connection_plugins()
S
59 3 16
disconnect_site_permission_check()
S
66 3 8
connection_plugins_permission_check()
S
65 3 9
connection_check_permission_check()
S
66 3 8
remote_register_permission_check()
S
67 3 8
set_connection_owner()
S
62 2 12
disconnect_site()
S
61 2 12
activate_plugins_permission_check()
S
69 2 6
set_connection_owner_permission_check()
S
69 2 6
update_user_token_permission_check()
S
72 2 5
remote_authorize()
S
66 2 8
connection_authorize_url()
S
65 2 9
remote_provision()
S
66 2 8
jetpack_register_permission_check()
S
69 2 6
remote_connect()
S
66 2 8
jetpack_reconnect_permission_check()
S
69 2 6
remote_register()
S
66 2 8
remote_provision_permission_check()
S
72 2 5
remote_connect_permission_check()
S
72 2 5
user_connection_data_permission_check()
S
65 2 10
get_user_permissions_error_msg()
S
80 1 3
verify_registration()
S
75 1 4
connection_check()
S
68 1 8